home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / button12.lha / button8901.ps < prev    next >
Text File  |  1993-08-05  |  4KB  |  96 lines

  1. % button8901.ps - A GNU Button Program
  2. % This program may be freely redistributed under the terms of the GNU
  3. % General Public License.
  4. % Copyright 1989, 1992 Free Software Foundation
  5. % This GNU Button program is distributed in the hope that it will be
  6. % useful, but WITHOUT ANY WARRANTY.  No author or distributor accepts
  7. % responsibility to anyone for the consequences of using it or for
  8. % whether it serves any particular purpose or works at all, unless he
  9. % says so in writing.  Refer to the GNU General Public License for
  10. % full details.
  11. % Everyone is granted permission to copy, modify and redistribute this
  12. % GNU Button Program, but only under the conditions described in the
  13. % GNU General Public License.  A copy of this license is supposed to
  14. % have been given to you along with this GNU Button Program so you can
  15. % know your rights and responsibilities.  It should be in a file named
  16. % COPYING.  Among other things, the copyright notice and this notice
  17. % must be preserved on all copies.
  18. % Hard copies of this button were first distributed at the January
  19. % 1989 SanDiego Usenix.  They had black lettering on a blue background
  20. % on a standard 2 1/4" safety pin button.  They were designed by
  21. % Leonard H.  Tower Jr. who is also the author of this GNU Button
  22. % Program.
  23. % Report bugs or improvements to: tower@prep.ai.mit.edu
  24. % Hard copies of this button are probably still available.  To get a
  25. % button, one must have either donated source code or documentation to
  26. % the GNU Project or make a donation of at least $ 2.00 for each
  27. % button.
  28. % If you wish a hard copy of a gnu button send:
  29. %     - a self-addressed, stamped envelope; and
  30. %     - either:
  31. %         - a reminder of your source or documentation contribution; or
  32. %         - a donation payable to the "Free Software Foundation"; and
  33. %     - specify which of these different versions you wish:
  34. %         Feb 88, June 88, and/or Jan 89
  35. % to:    L. Tower Jr.
  36. %     36 Porter Street Somerville, MA 02143, USA
  37. % This program is available for anonymous ftp
  38. % prep.ai.mit.edu:/u2/emacs/button.N.MM.shar.  It is probably
  39. % available in other source archives.
  40.  
  41. % Uses {in,out}sidecircletext routines from Adobe Cookbook.
  42. .so circtext.ps
  43.  
  44. % center button on 8 1/2" x 11" page
  45. 306 396 translate
  46.  
  47. % This is a kludge to give better edge resolution.
  48. % Note that postscript's scale command doesn't cut it.
  49. % It scales after the edges are set.
  50. % biggg is set to 2,3,4 or 3.9 to make a master that is that much larger.
  51. % The master is reduced that much by the button manufacturer.
  52. % If only 1200 dpi postscript printers were more common ...
  53. /biggg 1 def
  54.  
  55. gsave
  56.   /gnutext (GNU) def
  57.   /ertext (er) def
  58.   /gnustpt 45 biggg mul def
  59.   /Times-Bold findfont gnustpt scalefont setfont
  60.   %center
  61.   % The "er" is half the point size of the "GNU"
  62.   /erwidth ertext stringwidth pop 2 div def
  63.   /gnuwidth gnutext stringwidth pop def
  64.   % don't take the Ue kern out here
  65.   gnuwidth erwidth add 2 div neg 
  66.             gnustpt 6 div neg moveto
  67.   gnutext show
  68.   /Times-Bold findfont gnustpt 2 div scalefont setfont
  69.   (e) stringwidth pop 4 div neg 0 rmoveto
  70.   ertext show
  71. grestore
  72. /Times-Bold findfont 14 biggg mul scalefont setfont
  73. (GNU's Not Unix)
  74.   14 biggg mul 90 53 biggg mul outsidecircletext
  75. /Times-Roman findfont 7.5 biggg mul scalefont setfont
  76. (Copyright 1989 Free Software Foundation)
  77.   7.5 biggg mul 90 69 biggg mul outsidecircletext
  78. (Anonymous ftp this button's postscript)
  79.   7.5 biggg mul 270 55 biggg mul insidecircletext
  80. (program from prep.ai.mit.edu:/u/emacs/button.N.MM.shar)
  81.   7.5 biggg mul 270 64 biggg mul insidecircletext
  82. (This button design may be freely redistributed under the terms of the GNU General Public License.)
  83.   7.5 biggg mul 270 73 biggg mul insidecircletext
  84. showpage
  85.  
  86.